<?php
/* @var $this KeyLinkController */
/* @var $model KeyLink */
/* @var $form CActiveForm */
?>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'key-link-form',
	'enableAjaxValidation'=>false,
	'enableClientValidation'=>true,	
	'clientOptions'=>array('validateOnSubmit'=>true),
)); ?>

<ul class="form_list form_list2">

	<li class="title">
		<span class="fs_14 fw_b"><?php echo ($model->isNewRecord)?Yii::t('glo','Create'):Yii::t('glo','Update') ?> 关键词链接</span>
	</li>
	
	<?php echo $form->errorSummary($model); ?>

	<li class="c_f">
		<span class="tit"><?php echo $form->labelEx($model,'zkl_title'); ?>：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zkl_title',array('class'=>'i_ipt w_250')); ?>
			<?php echo $form->error($model,'zkl_title'); ?>
		</div>
	</li>

	<li class="c_f">
		<span class="tit"><?php echo $form->labelEx($model,'zkl_url'); ?>：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zkl_url',array('class'=>'i_ipt w_250')); ?>
			<?php echo $form->error($model,'zkl_url'); ?>
		</div>
	</li>

	<li class="c_f">
		<span class="tit"><?php echo $form->labelEx($model,'zkl_target'); ?>：</span>
		<div class="cont f_l">
			<?php echo $form->dropDownList($model,'zkl_target',array('_blank'=>'新窗品','_self'=>'当前窗口'),array('class'=>'s_ipt w_150')); ?>
			<?php echo $form->error($model,'zkl_target'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit"><?php echo $form->labelEx($model,'zkl_num'); ?>：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zkl_num',array('class'=>'i_ipt w_60')); ?>
			<?php echo $form->error($model,'zkl_num'); ?>
		</div>
	</li>

	<li class="c_f"><span class="tit">&nbsp;</span>
		<div class="cont f_l">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t('glo','Create') : Yii::t('glo','Save'),array('class'=>'mem_btn mem_btn20 mr5')); ?>
		</div>
	</li>
</ul>
<?php $this->endWidget(); ?>
